package com.lizhi.yun.db.rsz.entity;/**
 * @program: hbsf
 * @name RszGameTrainEntity
 * @description: 游戏记录表
 * @author: lizhi
 * @create: 2021-09-23 14:45
 */

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 *@program: hbsf
 *@name RszGameTrainEntity
 *@description: 游戏记录表
 *@author: lizhi
 *@create: 2021-09-23 14:45
 */
@Data
@ToString
@Table(name = "rsz_game_tarin")
@Entity
@Description("康复游戏记录")
public class RszGameTrainEntity extends AbstractVrEntity {

    @Id
    @Column(columnDefinition="varchar(30) COMMENT 'lid'")
    @Description("lid")
    public String lid;

    @Column(columnDefinition="varchar(30) COMMENT '游戏记录id'")
    public String gmTrId;

    @Column(columnDefinition="varchar(30) COMMENT '患者id'")
    public String ptId;

    @Column(columnDefinition="varchar(30) COMMENT '游戏字典id'")
    public String gameId;

    @Column(columnDefinition="varchar(500) COMMENT '游戏名称'")
    public String gameName;

    @Column(columnDefinition="int(11) COMMENT '游戏计划时间（分钟）'")
    public Integer gmTrTms;

    @Column(columnDefinition="varchar(100) COMMENT '游戏最高关卡'")
    public String gmTrLevel;

    @Column(columnDefinition="varchar(19) COMMENT '游戏开始时间'")
    public String gmTrStartTm;

    @Column(columnDefinition="varchar(19) COMMENT '游戏结束时间'")
    public String gmTrEndTm;

    @Column(columnDefinition="varchar(100) COMMENT '游戏分数'")
    public String gmTrScore;

    @Column(columnDefinition="varchar(2) COMMENT '游戏状态（00-初始状态，01-已完成游戏状态）'")
    public String gmTrStatus;

    @Transient
    public RszGameEntity rszGameEntity;

    @Transient
    public RszPatientEntity rszPatientEntity;

}
